module.exports = (sequelize, Types) => {
    const ProjectReportHistory = sequelize.define('ProjectReportHistory', {
        id: {
            type: Types.INTEGER,
            primaryKey: true,
            autoIncrement: true,
        },
        project_id: Types.INTEGER(11),
        report_type: Types.INTEGER(11),
        date: Types.DATE,
        report_to: Types.TEXT(100),
        report_follows: Types.TEXT(100),
        report_content: Types.LONGTEXT,
        send_time: Types.DATETIME,
    },{
        tableName:'project_report_history'
    });
    ProjectReportHistory.sync();
    return ProjectReportHistory;
};